/**
 * 
 */
package t4j.holding;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

/**
 * @author sz
 *
 * create time：2012-9-27
 */
public class SimpleCollection {

	public static void main(String[] args) {
		Collection<Integer> c = new ArrayList<Integer>();
		
		//Arrays.asList(a)
		
		for(int i =0; i < 10; i++){
			c.add(i);
		}
		
		for(Integer i :c){
			System.out.println(i);
		}
		

	}
}
